adb shell "ps -A | grep 'com.genymobile.scrcpy.Server' | awk '{print \$2}' | xargs kill -9"

adb shell rm -f /data/local/tmp/scrcpy-server.jar